{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link type="text/css" href='{% static 'books/css/index.css' %}' rel="stylesheet">
    <script type="text/javascript" src='{% static 'js/html5.js' %}'></script>
</head>
<body class = 'wp'>
<h3>欢迎注册本网站</h3>
<form action = '{%  url 'reg' %}' method = 'post' enctype="multipart/form-data">
    {% csrf_token %}
    <div>{{regform.username}}</div>
    <div>{{regform.password}}</div>
    <div>{{ regform.img }}</div>
    <div><input type = 'submit'></div>

</form>
</body>
</html>